﻿using Jinjia.Core.BaseInfrastructure.BaseModel;

namespace Jinjia.Approve.Entity.Entity.JJFlow.Condition
{
    ///<summary>
    ///销售目标计划草稿表（待审核）
    ///表bcst_yearly_draft_plan_tbl的实体类
    ///</summary>
    public class bcst_yearly_draft_plan_tbl : BaseEntity
    {
        /// <summary>
        /// 计划年度
        /// </summary>
        public string year { get; set; }

        /// <summary>
        /// 0: 真实渠道计划 1:销售单元计划(人/店别)
        /// </summary>
        public sbyte type { get; set; }

        /// <summary>
        /// 计划名称
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 计划状态  0 草稿，1 待审批，2 已通过，3 未通过，4 删除，5 撤回，6 退回
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 待审核目标
        /// </summary>
        public decimal target_amount { get; set; }

        /// <summary>
        /// 申请备注
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 审批备注
        /// </summary>
        public string approver_remarks { get; set; }

        /// <summary>
        /// 审批人id
        /// </summary>
        public int approve_user_id { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public System.DateTime approve_time { get; set; }

        /// <summary>
        /// 审批类型（1品牌审批2红人审批）
        /// </summary>
        public int approval_type { get; set; }
    }
}